package com.core.cloudgateway;

import com.core.cloudcommon.CommonGlobalExceptionHandler;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * @Author: lqj
 * @Date: 2024/11/12/ 19:48
 * @Description: 服务网关
 */
@SpringBootApplication
@EnableDiscoveryClient
@ComponentScan({"com.core.cloudgateway","com.core.cloudcommon.redis.service","com.core.cloudcommon.security"})
public class CloudGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudGatewayApplication.class, args);
    }

}
